package nl.nhl.idp.Components.Network;

public class SensorData 
{
	private int _id;
	private int hellingshoek;
	private int motorspanning;
	private int motorstroom;
	private int accuspanning;
	private short mazeSensorLeft;
	private short mazeSensorForward;
	private short mazeSensorRight;
	
	public SensorData()
	{
		this(0, 0 ,0 ,0);
	}
	
	public SensorData(int sID, int helling, int motor, int accu)
	{
		_id = sID;
		hellingshoek = helling;
		motorspanning = motor;
		accuspanning = accu;
	}
	
	public int getID() 
	{
		return _id;
	}

	public void setID(int _id) 
	{
		this._id = _id;
	}

	public int getHellingshoek() 
	{
		return hellingshoek;
	}

	public void setHellingshoek(int hellingshoek) 
	{
		this.hellingshoek = hellingshoek;
	}

	public int getMotorspanning() 
	{
		return motorspanning;
	}

	public void setMotorspanning(int motorspanning)
	{
		this.motorspanning = motorspanning;
	}
	
	public int getMotorstroom() 
	{
		return motorstroom;
	}

	public void setMotorstroom(int motorstroom)
	{
		this.motorstroom = motorstroom;
	}

	public int getAccuspanning() 
	{
		return accuspanning;
	}

	public void setAccuspanning(int accuspanning) 
	{
		this.accuspanning = accuspanning;
	}
	
	public void setMazeSensors(short left, short forward, short right)
	{
		mazeSensorLeft = left;
		mazeSensorForward = forward;
		mazeSensorRight = right;
	}
	
	public short getMazeSensorLeft()
	{
		return mazeSensorLeft;
	}
	
	public short getMazeSensorForward()
	{
		return mazeSensorForward;
	}
	
	public short getMazeSensorRight()
	{
		return mazeSensorRight;
	}
}
